import Vue from 'vue';
import Vuex from 'vuex';
 
import aliveComponent from '../module/aliveComponent';

Vue.use(Vuex);

const store = new Vuex.Store({
	state: {
 		tabIndex: 1,
 		deleteid:"",//删除的订单id
 		refesh:"",//是否刷新

	},

	getters: { 
	},

	mutations: {
		setTabIndex(state, n) {
			state.tabIndex = n;
		}
	},

	actions: {
		 
	},

	modules: {  
		aliveComponent, 
	}
});

export default store;